home *** CD-ROM | disk | FTP | other *** search
/ Suzy B Software 2 / Suzy B Software CD-ROM 2 (1994).iso / extras / programm / gemfsc20 / gemfsc20.lzh / GEMFBIND / VMFILENM.S < prev    next >
Text File  |  1993-03-25  |  1KB  |  39 lines

  1. ;*========================================================================
  2. ;* VDIFAST Public Domain VDI bindings.
  3. ;*========================================================================
  4.  
  5.  
  6. ;*------------------------------------------------------------------------
  7. ;* Set metafile name.
  8. ;*------------------------------------------------------------------------
  9.  
  10.           globl     _vm_filename
  11. _vm_filename:
  12.  
  13. ;          .cargs    #8,handle.w,p_str.l
  14.  
  15. handle      =         8
  16. p_str      =         10
  17.  
  18.           link        a6,#0
  19.  
  20.           move.l    p_str(a6),a0        ;* Get the string pointer.
  21.           jsr        vstr_stack            ;* Go integerize and stack string.
  22.  
  23. ;          VContrl    #5,#100,,d0
  24.           move.w    handle(a6),-(sp)    ; contrl[6]
  25.           move.w    #100,-(sp)            ; contrl[5]
  26.           subq.l    #2,sp                ; contrl[4]
  27.           move.w    d0,-(sp)            ; contrl[3]
  28.           subq.l    #2,sp                ; contrl[2]
  29.           clr.w     -(sp)                ; contrl[1]
  30.           move.w    #5,-(sp)            ; contrl[0]
  31.  
  32.           lea        -12(sp),sp            ;* -> ptsout, intout, ptsin
  33.           move.l    a0,-(sp)            ;* -> intin
  34.           pea        16(sp)                ;* -> contrl
  35.  
  36.           jmp        vdicall
  37.  
  38.           end
  39.